package com.itxiao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * (User)表实体类
 *
 * @author makejava
 * @since 2025-10-12 17:16:47
 */
@Data
@TableName("banner")
@AllArgsConstructor
@NoArgsConstructor
public class Banner {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String webImage;
    private String minProgramImage;
    private Integer showsStatus;
    private String notes;
    private Integer sort;
    private Integer type;
    private String url;
    private String contentId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private String createBy;
    private String updateBy;
}
